<?php

namespace App\Http\Controllers;

use App\Models\ESBattery;
use Illuminate\Http\Request;

class ESBatteryController extends Controller
{
    public function index(Request $request)
    {
        $data = ESBattery::requestCriteria($request)->paginate($request->query('limit'));
        return $this->respondSuccess($data);
    }
}
